<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>




<html>
<head>

</head>
<body>

	<div data-role="page" id="main">

		<div data-role="header">Historico</div>
		<!-- /header -->

		<div data-role="content">


			<ul data-role="listview" data-theme="c">
				<c:forEach items="${historicos}" var="h">
					<li>${h.dispositivo.nome}
						<p class="ui-li-aside">
							<strong><fmt:formatDate value='${h.data }' type="both"	pattern="dd/MM-hh:mm" /></strong>
							<fmt:formatDate value='${h.data }' type="both" pattern="a"/>
						</p> 
						
					</li>
				</c:forEach>
			</ul>











		</div>
		<!-- /content -->
	</div>


</body>
</html>
